package com.cloudpivot.receivales.contract.entity.erpcontract;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * U8合同 主要信息
 * 主要为contractID
 * 其余为固定值
 */
@Data
@Entity
@Table(name = "CM_Contract_Main")
public class CMContractMain {

    @Id
    @Column(name = "strContractID")
    private String strContractID;

    @Column(name = "strRel")
    private String strRe=":0";

    @Column(name = "strSource")
    private String strSource="1";

    @Column(name = "intDetail")
    private String intDetail = "0";

    @Column(name = "intMustDetail")
    private String intMustDetail = "0";

    @Column(name = "strTempleteShowID")
    private String strTempleteShowID = "";

    @Column(name = "strTempletePrintID")
    private String strTempletePrintID = "";

    @Column(name = "intKL")
    private String intKL = "0";

    @Column(name="strSpare1")
    private String strSpare1 = "1";

    /**
     * 111账套要修改 不同账套可能不同
     */
    @Column(name="strSpare2")
    private String strSpare2 = "日常合同默认模板组";

    @Column(name="strSpare3")
    private String strSpare3 = "1";

    @Column(name="dblPreAPARCurrency")
    private String dblPreAPARCurrency = "0";

    @Column(name="dblPreAPARCurrencyRMB")
    private String dblPreAPARCurrencyRMB = "0";
}
